$(function(){
var x = new URLSearchParams(location.search);
var id = x.get("id")
$.ajax({
    url:"/product/queryProductDetail",
    data:{id:id},
    success:function(res){
        console.log(res)
        var html = template("product",res);
        $(".mui-content").html(html);
        mui(".mui-slider").slider();
        mui(".mui-numbox").numbox();
    }
})

















})